package com.baor.dao;


import com.baor.domain.Deliver;
import com.baor.domain.Equipment;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeliverDao extends MPJBaseMapper<Deliver> {


    /**
     * 根据设备ID查询
     */
    @Select("SELECT * FROM deliver WHERE id = #{id} AND is_deleted = 0")
    Deliver selectById(Integer id);

}
